package com.jeect.service.impl;

import com.jeect.base.domain.User;
import com.jeect.mapper.UserMapper;
import com.jeect.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService implements IUserService {
    @Autowired
    private UserMapper userMapper;

    public User getUserByUserName(String userName) {
        return userMapper.getByAccount(userName);
    }
}
